package cn.piggy.mail.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class MailConfigParam {
    @Value("${mail.username}")
    private String username;
    @Value("${mail.password}")
    private String password;
    @Value("${mail.debug}")
    private String debug;
    @Value("${mail.imap.port}")
    private String imapPort;
    @Value("${mail.imap.host}")
    private String imapHost;
    @Value("${mail.imap.partialfetch}")
    private String partialFetch;
    @Value("${mail.imap.connectionpoolsize}")
    private String connectionPoolSize;
    @Value("${mail.savepath}")
    private String savePath;
    @Value("${mail.imap.ssl.enable}")
    private String enable;

    public String getEnable() {
        return enable;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public String getDebug() {
        return debug;
    }

    public String getImapPort() {
        return imapPort;
    }

    public String getImapHost() {
        return imapHost;
    }

    public String getPartialFetch() {
        return partialFetch;
    }

    public String getConnectionPoolSize() {
        return connectionPoolSize;
    }

    public String getSavePath() {
        return savePath;
    }
}
